package com.alibaba.nacos.core.distributed.distro.task.delay;

import com.alibaba.nacos.common.task.AbstractDelayTask;
import com.alibaba.nacos.consistency.DataOperation;
import com.alibaba.nacos.core.distributed.distro.entity.DistroKey;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * using by {@link DistroDelayTaskExecuteEngine.DistroDelayTaskProcessor}
 */
@RequiredArgsConstructor
@Setter
@Getter
@Accessors(chain = true)
public class DistroDelayTask extends AbstractDelayTask {

    private final DistroKey distroKey;
    private DataOperation dataOperation;
    private long createTime = System.currentTimeMillis();

    @Override
    public void merge(AbstractDelayTask task) {

    }
}
